﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ajax_list_nganh_nghe.aspx.cs"
    Inherits="web_pages_ajax_list_nganh_nghe" %>
<%@ OutputCache Duration="1" VaryByParam="None" %>
 <% if (root == false)
    {  %>
 <a href="javascript:loadNganhKD('<%=id_cha %>')" class=" ui-state-default ui-corner-all"><span class="ui-icon  ui-icon-circle-arrow-w"
    style="float: left;"></span>Danh Mục Trước </a>
<br />
<% }

   for (int i = 0; i < dtt.Rows.Count; i++)
   {
        
    %>
    <div class="listitem ui-corner-all" style="margin: 1px; padding: 2px; height: 16px;">
        <span style="float: left;">
            <input name="r1" type="radio" value="<%=dtt.Rows[i]["ma_nganh_kd"].ToString() %>" />
            <label id="<%=dtt.Rows[i]["ma_nganh_kd"].ToString() %>" > <%=dtt.Rows[i]["ten_nganh_kd"].ToString()%></label> </span>
            <% if(dtt.Rows[i]["ma_nganh_kd"]!=DBNull.Value ){ %>
            <a href="javascript:loadNganhKD('<%=dtt.Rows[i]["ma_nganh_kd"].ToString() %>')"><span style="float: right">Mở Rộng </span>
                <span class="ui-icon  ui-icon-circle-plus" style="float: right; margin-right: 0.3em;">
                </span></a>
                <% } %>
    </div>
<% } %>